<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>sample</title>
    <script type="text/javascript" src="../lib/angularjs/1.3.0-beta.5/angular.js"></script>
</head>
<body ng-app>
<div id="test" ng-controller="TestController" style="width: 300px; height: 100px;background-color: red;">
    Starting: <input type="text" ng-model="funding.startingEstimate" ng-change="computeNeeded()" />
    Starting: <input type="text" ng-model="funding.startingEstimate" />
    Recommendation: {{ funding.needed }}
</div>
<script type="text/javascript">
    var TestController = ["$scope", "$element", function ($scope, $element) {
        $scope.funding = { startingEstimate: 0 };
        $scope.$watch('funding.startingEstimate', function() {
            $scope.funding.needed = $scope.funding.startingEstimate * 10;
        });
    }];
</script>
</body>
</html>